package com.tan.mapper;

import com.tan.pojo.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author tanRuYi
 * @since 2021-08-25
 */
public interface MenuMapper extends BaseMapper<Menu> {


    List<Menu> getMenuListByUsername(String username);

    List<Menu> getMenuListByRoleId(Long id);
}
